From a4dc43ef88af5cf5294f08272844b71dc1b6f1bd Mon Sep 17 00:00:00 2001 From: robertl Date: Thu, 19 Sep 2002 15:51:20 +0000 Subject: [PATCH] Constify fprintdms. git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@88 f51c46e8-681c-474f-0cfe-069cfd0219fb --- gpsbabel/defs.h | 3 ++- gpsbabel/util.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/gpsbabel/defs.h b/gpsbabel/defs.h index f8d892fdb..128abe1ae 100644 --- a/gpsbabel/defs.h +++ b/gpsbabel/defs.h @@ -92,10 +92,11 @@ void waypt_add (waypoint *); void route_add (waypoint *); void waypt_disp_all(waypt_cb); unsigned int waypt_count(void); -void fprintdms(FILE *, coord *, int); +void fprintdms(FILE *, const coord *, int); char *mkshort (const char *); void setshort_length(int n); void setshort_badchars(const char *); +void setshort_mustupper(int n); typedef struct ff_vecs { ff_init rd_init; diff --git a/gpsbabel/util.c b/gpsbabel/util.c index 68504ae22..66e729b06 100644 --- a/gpsbabel/util.c +++ b/gpsbabel/util.c @@ -81,7 +81,7 @@ printposn(coord *c, int is_lat) } void -fprintdms(FILE *file, coord *c, int is_lat) +fprintdms(FILE *file, const coord *c, int is_lat) { char d; if (is_lat) { -- 2.30.2